surface: Remove queue_antiexpose()
authorBenjamin Otte <otte@redhat.com>
Tue, 20 Mar 2018 21:53:13 +0000 (22:53 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 20 Mar 2018 23:43:28 +0000 (00:43 +0100)
commitc4ecc3f4f72af2cd68cbc5439015cf2c8813479d
treec0643ad3b10cd93f8ffd77ed7d5ff8c47a46ac20
parent63edf43e86ea1eeeee30736208f790e954bd0f30
surface: Remove queue_antiexpose()

... and its implementation in the X11 backend.

GDK does lots of work trying to reduce the region in expose events
so that when the server sends multiple expose events, touching the
same area we can make sure to only redraw stuff once. However:
(1) this is only relevant of there's tons of delay and multiple
    expose events get sent
(2) we coalesce multiple events into a single expose event anyway
(3) we do this on the frame clock

But most importantly:
(4) Since the invention of compositing, servers caches all contents
    anyway
gdk/gdksurface.c
gdk/gdksurfaceimpl.h
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkdisplay-x11.h
gdk/x11/gdkgeometry-x11.c
gdk/x11/gdkprivate-x11.h
gdk/x11/gdksurface-x11.c